home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / prog / asm_n_z.arj / WT.DOC < prev    next >
Text File  |  1987-03-12  |  3KB  |  78 lines

  1.                              WalkTree
  2.                   Version 1.00:   April 19, 1986
  3.                   Author: Don A. Williams
  4.  
  5.  
  6. WalkTree is a small transient program that will  execute  another
  7. specified program  at  every  level  of  the  Director  hierarchy
  8. starting  with  the  current  directory.  This first release just
  9. contains the basic mechanism  to  walk  the  directory  structure
  10. recursively and to execute a program,  using MS-DOS function 4BH,
  11. at every level of the hierarchy.  Future  releases  will  contain
  12. the  ability  to execute a specified program on selected files of
  13. every level of selected directories.
  14.  
  15. Usage:
  16.  
  17. WalkTree version 1.00 has a very simple command line:
  18.  
  19.     WT <any DOS command>
  20.  
  21. the angle brackets,  '<' and '>' are not  actually  part  of  the
  22. command.  Any  command  or  program  recognized  by  DOS  can  be
  23. specified  and  the  specified  program  will be executed at each
  24. level of the  directory  hierarchy  beginning  with  the  current
  25. directory on the current disk.
  26.  
  27.  
  28. Examples:
  29.  
  30.     WT DEL *.BAK
  31.  
  32.     This  usage  of  WalkTree  would erase every .BAK file in the
  33.     current directory and  every  directory  subordinate  to  the
  34.     current directory.
  35.  
  36.  
  37.     WT DIR
  38.  
  39.     This  usage of WalkTree would produce a Directory listing for
  40.     the current directory and every directory subordinate to it.
  41.  
  42.  
  43. Copyright Notice
  44.  
  45. The program WalkTree, both in binary executable and source forms,
  46. is in the public domain.  No warranty is given or implied, and no
  47. liability will be assumed by the author.
  48.  
  49. Everyone on earth  is  hereby  given  permission  to  use,  copy,
  50. distribute,  change,  mangle,  destroy  or otherwise employ these
  51. programs,  in whole or in part,  in any fashion they  so  desire,
  52. provided they hurt no one but themselves in the process.
  53.  
  54. If  anyone has any questions about this or any other program that
  55. I have authored,  I can be reached by  messages  on  any  of  the
  56. following systems:
  57.  
  58.  
  59.     Bob's Answering Mach       (602) 242-3158   300/1200 bps
  60.     FIDO 114/1 Phoenix Node    (602) 242-5230   300/1200/2400 bps
  61.     FIDO 114/446 XTRA #1       (602) 979-6352   300/1200/2400 bps
  62.     Technoids Anonymous        (602) 899-4876   300/1200/2400 bps
  63.  
  64. All are excellent 24 hour systems.
  65.  
  66. Don A. Williams
  67. 3913 W. Solano Dr. N.
  68. Phoenix, AZ 85019
  69.  
  70.  
  71.    Version History
  72.  
  73.    Version 1.01 modified by John Covici March 12, 1987 fixed the following bugs:
  74.    (1) assembles now with masm
  75.    (2) Had to say [ds:2ch] rather than [2ch] to get indirection.  I
  76.       think its a bug in the assembler.
  77.    (3) Append cr to generated command line to prevent dos crashes.
  78.